#include <iostream>
using std::cout;
using std::cin;
#include <iterator>
int main()
{
	cout<<"Introdu 2 numere: ";
	
	std::istream_iterator<int>intreg(cin);
	
	int nr1=*intreg;
	++intreg;
	int nr2=*intreg;

	std::ostream_iterator<int>iesire(cout);
	
	*iesire=nr1+nr2;
	cout<<"\n";
	*iesire=nr1-3;	
	
	return 0;
}
